﻿@model WebMvc.Models.ObjetoViewModel

@{
    ViewBag.Title = "Plataforma - Objetos - Edición";
}

<link href="../../Content/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css"/>
  
<script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/Common.js")" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $('#headerContainer').addClass('flatButton');
    })

</script>

<div class="path">
    <p>Plataforma | Objetos | Edición</p>
</div>


@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
        
    @Html.HiddenFor(model => model.Guid)
    
    <div class="sep clearfix">
        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Name, new { @class = "text-box single-line" })
            @Html.ValidationMessageFor(model => model.Name)
        </div>
    </div>
       
    <div class="sep clearfix">
        <div class="editor-label">
            @Html.LabelFor(model => model.Details)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Details, new { @class = "text-box single-line" })
            @Html.ValidationMessageFor(model => model.Details)
        </div>
    </div>
   
     <div class="btnSubmit btnSubmitRight clearfix">
        <input type="submit" value="Guardar" class="flatButton" />
    </div>
}